﻿<%@ Page Language="C#" MasterPageFile="~/default.master" AutoEventWireup="true" CodeFile="frmList.aspx.cs"
    Inherits="frmList" Title="在线报名" %>

<%@ Register assembly="Wz16.Baoming.BLL" namespace="Wz16.Baoming.BLL" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPH" runat="Server">
    查询
    <asp:DropDownList ID="ddlCol" runat="server">
        <asp:ListItem Value="Xh">网络报名号</asp:ListItem>
        <asp:ListItem Value="Name" Selected="True">姓名</asp:ListItem>
        <asp:ListItem Value="School">学校</asp:ListItem>
    </asp:DropDownList>
    <asp:TextBox ID="txtContent" runat="server"></asp:TextBox>
    报名状态<asp:DropDownList ID="ddlStatus" runat="server">
        <asp:ListItem Value="全部" Selected="True">全部</asp:ListItem>
        <asp:ListItem Value="填写报名表">填写报名表</asp:ListItem>
        <asp:ListItem Value="等待现场确认">等待现场确认</asp:ListItem>
        <asp:ListItem Value="等待特长测试">等待特长测试</asp:ListItem>
        <asp:ListItem Value="预录取">预录取</asp:ListItem>
        <asp:ListItem Value="备录取">备录取</asp:ListItem>
        <asp:ListItem Value="确定录取">确定录取</asp:ListItem>
        <asp:ListItem Value="确定不录取">确定不录取</asp:ListItem>
        <asp:ListItem Value="放弃报名">放弃报名</asp:ListItem>
        <asp:ListItem Value="放弃报名">放弃录取</asp:ListItem>
    </asp:DropDownList>
    排序<asp:DropDownList ID="ddlOrder" runat="server">
        <asp:ListItem Value="Xh DESC">网络报名号</asp:ListItem>
        <asp:ListItem Value="HukouLeibie,School,Xh">户口，学校</asp:ListItem>
    </asp:DropDownList>
    每页显示<asp:TextBox ID="txtPageSize" runat="server" Width="30px">10</asp:TextBox>条记录
    <asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="btnSearch_Click" />
    <asp:HyperLink ID="hlPrintHuizong" runat="server">打印汇总表</asp:HyperLink>
    <asp:HyperLink ID="hlPrintBaoming" runat="server">打印报名表</asp:HyperLink>
    <br />
    <asp:Button ID="btnDel" runat="server" Text="删除" OnClick="btnDel_Click" />
    报名状态<asp:DropDownList ID="ddlStatusForChange" runat="server">
        <asp:ListItem Value="请选择报名状态 " Selected="True">请选择报名状态 </asp:ListItem>
        <asp:ListItem Value="填写报名表">填写报名表</asp:ListItem>
        <asp:ListItem Value="等待现场确认">等待现场确认</asp:ListItem>
        <asp:ListItem Value="等待特长测试">等待特长测试</asp:ListItem>
        <asp:ListItem Value="预录取">预录取</asp:ListItem>
        <asp:ListItem Value="备录取">备录取</asp:ListItem>
        <asp:ListItem Value="确定录取">确定录取</asp:ListItem>
        <asp:ListItem Value="确定不录取">确定不录取</asp:ListItem>
        <asp:ListItem Value="放弃报名">放弃报名</asp:ListItem>
        <asp:ListItem Value="放弃报名">放弃录取</asp:ListItem>
    </asp:DropDownList>
    <asp:Button ID="btnChangeStatus" runat="server" Text="更改报名状态" OnClick="btnChangeStatus_Click" />
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
        AutoGenerateColumns="False" DataKeyNames="Id" DataSourceID="BmInfoDS1" BackColor="White"
        BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
        OnRowDataBound="GridView1_RowDataBound" 
        onselectedindexchanged="GridView1_SelectedIndexChanged" 
        onselectedindexchanging="GridView1_SelectedIndexChanging">
        <FooterStyle BackColor="White" ForeColor="#000066" />
        <RowStyle ForeColor="#000066" Height="50px" />
        <Columns>
            <asp:TemplateField HeaderText="选择">
                <ItemTemplate>
                    <asp:CheckBox ID="CheckBox1" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="XH" HeaderText="报名序号" SortExpression="XH" ItemStyle-HorizontalAlign="Center">
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField DataField="IDCardNum" HeaderText="身份证号码" SortExpression="IDCardNum"
                ItemStyle-HorizontalAlign="Center">
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField DataField="Name" HeaderText="姓名" SortExpression="Name" ItemStyle-HorizontalAlign="Center">
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField DataField="Sex" HeaderText="性别" SortExpression="Sex" ItemStyle-HorizontalAlign="Center">
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField DataField="Birthday" HeaderText="出生日期" SortExpression="Birthday"
                ItemStyle-HorizontalAlign="Center">
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField DataField="Tel" HeaderText="联系电话" SortExpression="Tel" ItemStyle-HorizontalAlign="Center">
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField DataField="School" HeaderText="毕业学校" SortExpression="School" ItemStyle-HorizontalAlign="Center">
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField DataField="ZhiWu" HeaderText="职务" SortExpression="ZhiWu" ItemStyle-HorizontalAlign="Center">
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField DataField="TeChang" HeaderText="特长" SortExpression="TeChang" ItemStyle-HorizontalAlign="Center">
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField DataField="HukouLeibie" HeaderText="户口类别" SortExpression="HukouLeibie"
                ItemStyle-HorizontalAlign="Center">
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <%--            <asp:BoundField DataField="Beizhu" HeaderText="备注" SortExpression="Beizhu" ItemStyle-HorizontalAlign="Center">
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>--%>
            <asp:BoundField DataField="Status" HeaderText="状态:等待现场确认" SortExpression="Status"
                ItemStyle-HorizontalAlign="Center">
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:HyperLinkField DataNavigateUrlFields="Id" DataNavigateUrlFormatString="frmPrint.aspx?Id={0}"
                HeaderText="打印" Target="_blank" Text="打印" />
            <asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="frmBaoming.aspx?id={0}"
                HeaderText="编辑" Target="_blank" Text="编辑" />
        </Columns>
        <PagerSettings PageButtonCount="50" Position="TopAndBottom" />
        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
    <cc1:BmInfoDS ID="BmInfoDS1" runat="server" oninit="BmInfoDS1_Init" />
</asp:Content>
